home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / Math Visin v2.1 disk 2.adf / README / tidbits.doc < prev    next >
Text File  |  1992-02-14  |  3KB  |  77 lines

  1.  
  2.   Tidbits of information for MathVISION 2.1
  3.  
  4.   Function Comments
  5.   ~~~~~~~~~~~~~~~~~
  6.   In the functions space (Val, FA, FB..FI) you may put a comment after
  7.   a function by using a quote mark (").  This will allow much more room
  8.   to explain the inner workings of your functions.
  9.  
  10.   Axes Hook
  11.   ~~~~~~~~~
  12.   The Axes hook draws axes on the plot.  Since this modifies the picture,
  13.   you may want to save the picture before using axes on it.  The top color
  14.   is used for the axes - so if you want the axes to stand out, set the 
  15.   modulo to one below the maximum so the axes color is not used in 
  16.   plotting.
  17.  
  18.   Number Evaluation
  19.   ~~~~~~~~~~~~~~~~~
  20.   Where you may enter numbers at the top of the Edit Screen, (ie, Xmin, 
  21.   XMax) you may also enter expressions, such as "pi*4".
  22.  
  23.   Mod()
  24.   ~~~~
  25.   The mod() function has been changed.  It previously returned an integer
  26.   result, which could have been negative, and was synonymous with ` % '.
  27.   The ` % ' function still returns an integer value that is the remainder
  28.   after an integer division.  The sign of a ` a % b ' may be either
  29.   positive or negative.  Mod() has been changed.  It now returns a positive 
  30.   real number, 0 <= result < modulo.  There is a new function, rmod(), 
  31.   which returns a real number which may be negative.  rmod() returns the
  32.   real remainder after a division.
  33.  
  34.   Perspective Plotting
  35.   ~~~~~~~~~~~~~~~~~~~~
  36.   There are two functions, color() and altit(), which allow you to over-
  37.   ride the default color and altitude calculations for the perspective 
  38.   plots (only).  If the color() function is used, it sets the color of 
  39.   the plot at that point.  If Contour/Scaling is set, the value passed 
  40.   to color() is scaled first.  If the altit() function is used, it sets 
  41.   the altitude of the plot at that point.  It is clipped if appropriate.
  42.   Since these are 'side effect' functions, they are not taken into account 
  43.   in GuessContourWidth or GuessClipLimits.  
  44.  
  45.   Shade Hook
  46.   ~~~~~~~~~~
  47.   The Shade hook is an alternative to the Perspective mode, and is 
  48.   controlled by the Perspective mode controls.  Specifically, Clip Low 
  49.   and Clip High are used to scale the plot, the Perspective Sample Delta
  50.   controls the sampling, and Scale Height affects the height of the 
  51.   terrain.  Some of the other controls are interpreted differently by the
  52.   Shade hook.
  53.  
  54.   Magnification affects how much the plot fills the screen from top to
  55.   bottom.  Use a Magnification less than 100% for a more edge-on view,
  56.   and greater than 100% when a wall-to-wall effect is desired.
  57.  
  58.   ViewPoint affects the height of the terrain, and perspective.  The 
  59.   viewpoint is expected to be somewhere between flat (edge-on) and top
  60.   view (0 < angle < pi/2).  Do not set the viewpoint at either of these
  61.   two extremes.  Only the amount of tip is used, the spin is
  62.   ignored.  If the Perspective switch is set, then the viewpoint also 
  63.   controls the vanishing point.  Edge-on viewpoints show a large amount of 
  64.   perspective, whereas top-views show very little perspective. 
  65.  
  66.   Perspective switch controls whether the perspective is calculated.  If
  67.   it is not, the plot is slightly faster.
  68.  
  69.   Modulo affects how many colors will be used for the shading effect. 
  70.  
  71.   If the color() function is used, the color is set to the value given. 
  72.   The number must be scaled by the user.  Setting the Modulo below the
  73.   maximum allows room for user-settable colors.
  74.  
  75.   Note that Analyze and Zoom In will not validly work on Shaded pictures.
  76.  
  77.